package com.heima.model.common.pojos.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("ap_user_follow")
public class ApUserFollow implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;//主键id
    @TableField("user_id")
    private Integer userId;//用户id
    @TableField("follow_id")
    private Integer followId;//关注作者id
    @TableField("follow_name")
    private String followName; //关注作者昵称
    @TableField("level")
    private Short level;//关注度 0偶尔感兴趣 1一般 2经常 3高度
    @TableField("is_notice")
    private Short isNotice;//是否动态通知
    @TableField("created_time")
    private Date createdTime;//创建时间
}
